import java.io.BufferedReader;
import java.io.FileReader;
import java.util.ArrayList;
import java.util.Random;

public class java04 {
    public static void main(String[] args) throws Exception{
        BufferedReader fis=new BufferedReader(new FileReader("names.txt"));
        String line;
        ArrayList<String> arr=new ArrayList<>();
        while ((line= fis.readLine())!=null){
            arr.add(line);
        }
        Random random=new Random();
        int n= random.nextInt(arr.size());
        System.out.println(arr.get(n).split("-")[0]);
    }
}
